#ifndef     __WORK_SERVICE_H
#define     __WORK_SERVICE_H

#include "../utils/error.h"

namespace service {

utils::Error draw_water(uint8_t ml);

struct CleanParam {
    uint8_t c;
    uint8_t drain_cold_water;
    uint8_t d;
    uint8_t steam_duration;
};

struct CookingParam {
    uint8_t k;
    uint8_t pre_water;
    uint8_t f;
    uint8_t g;
    uint8_t defroze_duration;
    uint8_t e;
    uint8_t pour_water;
    uint8_t h;
    uint8_t mix_soup_duration;
    uint8_t i;
    uint8_t clogging_prevent_duration;
};

utils::Error clean(const CleanParam &param);
utils::Error cooking(const CookingParam &cooking);

}

#endif
